package com.example.springcloud.order.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 订单状态枚举
 */
@Getter
@AllArgsConstructor
public enum OrderStatus {
    CREATING(0, "创建中"),
    FINISHED(1, "已完成"),
    CANCELLED(2, "已取消");

    private final Integer code;
    private final String desc;
}

